.layout {
  min-height: 100vh;
}

.logo {
  float: left;
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
  background: rgba(255, 255, 255, 0.3);
}

.site-layout-content {
  background: #fff;
  padding: 16px;
  min-height: 280px;
}

.ant-layout-header {
  display: flex;
  align-items: center;
}

.ant-menu {
  flex: 1;
}

/* 紧凑型表格样式 */
.ant-table {
  font-size: 13px;
}

.ant-table-thead > tr > th,
.ant-table-tbody > tr > td {
  padding: 6px 10px;
}

/* 表格交替行颜色 */
.table-row-light {
  background-color: #ffffff;
}

.table-row-dark {
  background-color: #f5f7fa;
}

/* 鼠标悬停效果 */
.ant-table-tbody > tr.table-row-light:hover > td,
.ant-table-tbody > tr.table-row-dark:hover > td {
  background-color: #e6f7ff !important;
}

/* 图表样式 */
.chart-card {
  margin-bottom: 16px;
}

.chart-card .ant-card-body {
  padding: 12px;
}

.ant-card-body {
  padding: 16px;
}

@media (max-width: 768px) {
  .site-layout-content {
    padding: 8px;
  }
  
  .ant-table {
    font-size: 12px;
  }
  
  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > td {
    padding: 4px 6px;
  }

  .ant-card-body {
    padding: 8px;
  }
} 